package MusicModel;

import Beat.BPMObserver;
import Beat.BeatModelInterface;
import Beat.BeatObserver;

public class MusicAdapter implements BeatModelInterface{

	MusicModel music;
	
	public MusicAdapter(MusicModel music){
		this.music=music;
	}

	public void initialize() {
		this.music.initialize();
	}

	public void on() {
		this.music.on();		
	}

	public void off() {
		this.music.off();
	}

	public void setBPM(int bpm) {
		this.music.setBPM(bpm);
	}

	public int getBPM() {
		return this.music.getBPM();
	}

	public void registerObserver(BeatObserver o) {
		this.music.registerObserver(o);
	}

	public void removeObserver(BeatObserver o) {
		this.music.removeObserver(o);
	}

	public void registerObserver(BPMObserver o) {
		this.music.registerObserver(o);
	}

	public void removeObserver(BPMObserver o) {
		this.music.removeObserver(o);
	}

	@Override
	public void sgteInstrumento() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void anteInstrumento() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int getInstrumentoActual() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void setVista(int i) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int getVista() {
		// TODO Auto-generated method stub
		return 0;
	}	
}
